﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BDS3M.Controls
{
    public partial class Video : System.Web.UI.UserControl
    {
        public string VideoLink;

        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = DAL.DCollector.DBCollector.Instance.StoredSelectAllTableWhereIDOrderBySort("tbl_Video", "Video_Active", "1", "Video_Date", "desc");

            VideoLink = dt.Rows[0]["Video_Link"].ToString();
        }
    }
}